@import "./data";
@import "./color";
@import "./mixin";
// 头部导航栏
.header_nav_bar {
    width: $type_area_width;
    margin: 0 auto;
    height: 38px;
    line-height: 38px;
    .header_classify {
        background-color: $always_color;
        width: 200px;
        height: 38px;
        color: #fff;
        font-size: 13px;
        font-weight: bold;
        border-radius: 12px 12px 0 0;
        position: relative;
        float: left;
        padding-left: 36px;
        box-sizing: border-box;
        i {
            position: absolute;
            display: block;
            width: 14px;
            height: 14px;
            top: 12px;
            left: 12px;
            background: url(../img/index_small_bg.png) -928px -0px;
        }
        .header_classify_secondary_menu {
            position: absolute;
            width: 200px;
            height: 477px;
            background-color: #fff;
            z-index: 5;
            left: 0px;
            li {
                height: 31px;
                line-height: 31px;
                padding: 0 6px 0 24px;
                box-sizing: border-box;
                position: relative;

                img {
                    position: absolute;
                    left: 3px;
                    width: 16px;
                    height: 16px;
                    top: 50%;
                    margin-top: -8px;
                }
                a {
                    display: inline-block;
                    vertical-align: middle;
                    color: #000;
                    font-size: 14px;
                    text-decoration: none;
                    letter-spacing: 1px;
                    font-weight: normal;
                    &:hover {
                        color: $nav_import_color;
                    }
                }
                em {
                    font-size: 14px;
                    vertical-align: middle;
                    height: 12px;
                    width: 1px;
                    margin: 0 1px;
                    color: #333;
                    font-weight: normal;
                }
                &:hover {
                    background-color: #f3f3f3;
                    .header_classify_third_menu {
                        display: block;
                    }
                }
                .header_classify_third_menu {
                    width: 989px;
                    height: 477px;
                    position: absolute;
                    background-color: #f3f3f3;
                    top: 0px;
                    left: 199px;
                    display: none;
                    z-index: 10;
                    .third_top_list {
                        width: 686px;
                        height: 24px;
                        margin: 10px 0 0 8px;
                        a {
                            display: block;
                            background-color: rgb(50, 103, 255);
                            float: left;
                            height: 24px;
                            margin-left: 25px;
                            padding: 0 10px;
                            color: #fff;
                            line-height: 24px;
                            text-align: center;
                            border-radius: 4px;
                            font-size: 12px;
                        }
                    }
                    .third_goods_list {
                        width: 780px;
                        margin-top: 10px;
                        padding-left: 20px;
                        box-sizing: border-box;
                        dl {
                            width: 750px;
                            height: auto;
                            max-height: 57px;
                            overflow: hidden;
                            dt {
                                float: left;
                                width: 84px;
                                height: 20px;
                                line-height: 20px;
                                padding: 8px 0 0 10px;
                                a {
                                    display: block;
                                    color: #000;
                                    font-size: 12px;
                                    letter-spacing: normal;
                                    font-weight: bold;
                                    &:hover {
                                        color: $nav_import_color;
                                    }
                                }
                            }
                            dd {
                                width: 650px;
                                float: left;
                                font-size: 12px;
                                line-height: 20px;
                                border-bottom: 1px solid #eee;
                                margin-top: 8px;
                                padding-bottom: 8px;
                                a {
                                    margin-right: 15px;
                                    display: inline-block;
                                    color: #000;
                                    font-size: 12px;
                                    letter-spacing: 0;
                                }
                                .list_imp {
                                    color: rgb(50, 103, 255);
                                }
                            }
                        }
                    }
                    .thire_goods_vendor {
                        float: left;
                        position: absolute;
                        right: 0;
                        top: 0;
                        width: 196px;
                        height: 100%;
                        overflow: hidden;
                        background-color: #f3f3f3;
                        .big_vendor {
                            width: 182px;
                            margin: 10px 0 20px 8px;
                            li {
                                float: left;
                                width: 90px;
                                height: 38px;
                                margin: 0 1px 1px 0;
                                background: #fff;
                                line-height: normal;
                                padding: 0;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                img {
                                    width: 80px;
                                    height: 30px;
                                    margin-top: 0;
                                    position: inherit;
                                    left: auto;
                                    top: auto;
                                }
                            }
                        }
                        .seckill_propaganda_pic {
                            float: left;
                            width: 180px;
                            height: 100px;
                            margin-bottom: 5px;
                            overflow: hidden;
                            margin-top: 10px;
                            margin-right: 0;
                            margin-left: 8px;
                            img {
                                width: 100%;
                                height: 100%;
                                position: inherit;
                            }
                        }
                        .propaganda_pic_2 {
                            margin-top: -6px;
                        }
                    }
                }
                .electric_appliance {
                    top: -31px;
                }
                .life {
                    top: -62px;
                }
                .computer {
                    top: -93px;
                }
                .furniture {
                    top: -124px;
                }
                .foot {
                    top: -155px;
                }
                .beauty {
                    top: -186px;
                }
                .child_mom {
                    top: -217px;
                }
                .sport {
                    top: -248px;
                }
                .women_ware {
                    top: -279px;
                }
                .bags {
                    top: -310px;
                }
                .car {
                    top: -341px;
                }
                .book {
                    top: -372px;
                }
                .medical {
                    top: -403px;
                }
                .money {
                    top: -434px;
                }
            }
        }
    }
    .supermarket {
        float: left;
        li {
            height: 38px;
            line-height: 38px;
            padding: 0 13px;
            float: left;
            position: relative;
            &:hover {
                span {
                    bottom: 0;
                }
            }
            a {
                display: block;
                color: rgb(51, 51, 51);
                font-weight: bold;
                font-size: 14px;
                height: 38px;
                &:hover {
                    color: rgb(255, 102, 0);
                }
            }
            span {
                width: 26px;
                height: 8px;
                position: absolute;
                bottom: -8px;
                left: 50%;
                margin-left: -13px;
                background: url(../img/index_small_bg.png) -37px 0;
                transition: all 0.5s;
            }
        }
        .supermarket_img {
            width: 110px;
            padding: 0;
            a {
                img {
                    width: 100%;
                }
            }
        }
    }
    .header_notice {
        float: right;
        width: 196px;
        height: 38px;
        position: relative;
        a {
            img {
                width: 100%;
            }
        }
        .notice_main {
            position: absolute;
            width: 196px;
            height: 476px;
            background-color: #fff;
            z-index: 1;
            top: 38px;
            left: 0px;
            .notice_header {
                margin-top: 10px;
                margin-left: 10px;
                overflow: hidden;
                .notice_user_header {
                    width: 50px;
                    height: 50px;
                    float: left;
                    img {
                        width: 100%;
                    }
                }
                .notice_user_state {
                    float: left;
                    margin-top: 8px;
                    margin-left: 6px;
                    width: 125px;
                    height: 38px;
                    font-size: 12px;
                    color: #333;
                    // background-color: red;
                    p {
                        width: 122px;
                        height: 18px;
                        line-height: 18px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        font-size: 12px;
                        a {
                            font-size: 12px;
                            color: #333;
                        }
                    }
                }
            }
            .notice_button {
                height: 60px;
                margin-left: 10px;
                a {
                    display: block;
                    width: 156px;
                    height: 24px;
                    border-radius: 3px;
                    text-align: center;
                    line-height: 24px;
                    margin-left: 20px;
                    font-size: 13px;
                }
                .new_user {
                    color: #fff;
                    margin-top: 10px;
                    background: #ff8000;
                }
                .super_user {
                    color: #fada99;
                    margin-top: 10px;
                    background-image: linear-gradient(-90deg, #373a77 3%, #17125b 100%);
                }
            }
            .notice_welfare {
                height: 62px;
                display: flex;
                justify-content: space-around;
                margin-top: 10px;
                dl {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    float: left;
                    height: 62px;
                    dt {
                        width: 36px;
                        height: 36px;
                        img {
                            width: 100%;
                        }
                    }
                    dd {
                        height: 20px;
                        max-width: 66px;
                        line-height: 20px;
                        font-size: 14px;
                        color: #333;
                        text-align: center;
                    }
                }
            }
            .notice_type {
                overflow: hidden;
                dl {
                    float: left;
                    width: 65px;
                    height: 92px;
                    border-width: 0 1px 1px 0;
                    border-style: solid;
                    border-color: #f2f2f2;
                    box-sizing: border-box;
                    dt {
                        width: 26px;
                        height: 26px;
                        margin: 14px 20px;
                        img {
                            width: 100%;
                        }
                    }
                    dd {
                        text-align: center;
                        color: #333;
                        font-size: 14px;
                        height: 20px;
                        line-height: 20px;
                        max-width: 66px;
                        overflow: hidden;
                    }
                }
            }
        }
    }
}